package cn.tedu.dimanage.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Classname: itemSimpleVO
 * @Author: bromide
 * @CreateTime: 2022/6/17--下午7:30
 * @Version: V1.0
 * @Description:
 */
@Data
public class ItemSimpleVO implements Serializable {
    private Long id;
    private String name;
    private String img;
    private Integer inventory;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy年MM月dd日 HH:mm:ss", timezone="GMT+8")
    private LocalDateTime itemCreate;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy年MM月dd日 HH:mm:ss", timezone="GMT+8")
    private LocalDateTime itemModified;
}
